package com.xjscrm.console.mapper;

import com.xjscrm.common.entity.SopTaskDeviceConfig;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface SopTaskDeviceConfigMapper {
    SopTaskDeviceConfig getByDeviceUniqueId(@Param("deviceUniqueId") Long deviceUniqueId, @Param("merId") Long merId);

    int add(SopTaskDeviceConfig sopTaskDeviceConfig);


    int update(SopTaskDeviceConfig sopTaskDeviceConfig);

    SopTaskDeviceConfig getById(@Param("id") Long id, @Param("merId") Long merId);
}
